package com.pqtest.api.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

@Getter
@Setter
public class SllibraryDto {
    private Integer id;
    private String title;
    private String note;
    @JsonProperty("hard_rate")
    private int hardRate;
    @JsonProperty("is_correct")
    private int isOnlineCorrect;
    //@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonIgnore
    private Date created_time;
   // @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonIgnore
    private Date updated_time;
    private int state;
    @JsonIgnore
    private int pqTestCategoryId;
}
